<div class="layui-tab-item">
    <form id="addons_form" class="layui-form layuimini-form layui-form-pane">
        <input type="hidden" name="type" value="addons">
        <input type="hidden" name="numbers" value="0">
        <input type="hidden" name="cmd" value="0">
        <div class="layui-form-item" id="show-model">
            <input type="radio" name="set_addons" lay-skin="primary" title="新建插件" lay-filter="showaddons" checked value="1">
            <input type="radio" name="set_addons" lay-skin="primary" title="添加子插件" lay-filter="showcaddons" value="2">
        </div>
        <div class="layui-form-item">
            <h4>插件设置</h4>
            <hr>
        </div>
        <div id="main-content">
            <div class="layui-input-inline short" id='addons-set'>
                <h6>自定义插件名</h6>
                <input type="text" name="addons_name" autocomplete="off" class="layui-input" placeholder="请填写插件名称">
            </div>
            <div class="layui-form-item">
            </div>
            <div class="layui-inline" id='caddons-set' style="display: none;">
                <div class="layui-input-inline short">
                    <h6>请选择主插件</h6>
                    <select name="maddons" lay-verify="required" lay-search="" lay-filter="main-table" class="layui-select main-table">
                        {volist name='addons' id='vo'}
                        <option value="{$vo}">{$vo}</option>
                        {/volist}
                    </select>
                </div>
                <div class="layui-input-inline short">
                    <h6>子插件名称</h6>
                    <input type="text" name="caddons" autocomplete="off" class="layui-input" placeholder="请填写子插件名称">
                </div>
            </div>
        </div>
        <div class="layui-form-item">
        </div>
        <div class="layui-form-item text-left">
            <div class="layui-btn layui-btn-sm" id='create_addons'>立即执行</div>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>
    </form>
</div>